import Vue from 'vue';
import Vuex from 'vuex';
import userInfo from './user-info.js';
import configInfo from './config-info';
import roleInfo from './role-info';
import resourceInfo from './resource-info';
import dictionary from './dictionary-info';

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    user: userInfo,
    config: configInfo,
    role: roleInfo,
    resource: resourceInfo,
    dictionary: dictionary
  }
});
